package com.oreilly.ez.service;


import com.google.common.eventbus.Subscribe;
import com.oreilly.ez.base.SysEventListener;
import org.springframework.stereotype.Component;

@Component
public class StringEventListener implements SysEventListener<String> {

    @Subscribe
    @Override
    public void onEvent(String event){
        System.out.println("string receive msg:" + event);
    }
}
